package com.graduation.entity;

public class Cart {
    private String id;
    private String goodsname;
    private String shopname;
    private String price;
    private String num;
    private String filename;
    private String addtime;
    private Integer goodsid;
    private String email;

    public Cart() {

    }

    public Cart(String id, String goodsname, String shopname,
                String price, String num, String filename, String addtime, Integer goodsid, String email) {
        this.id = id;
        this.goodsname = goodsname;
        this.shopname = shopname;
        this.price = price;
        this.num = num;
        this.filename = filename;
        this.addtime = addtime;
        this.goodsid = goodsid;
        this.email = email;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id='" + id + '\'' +
                ", goodsname='" + goodsname + '\'' +
                ", shopname='" + shopname + '\'' +
                ", price='" + price + '\'' +
                ", num='" + num + '\'' +
                ", filename='" + filename + '\'' +
                ", addtime='" + addtime + '\'' +
                '}';
    }
}
